import { createApp } from 'vue';
import App from './App.vue';

// 通用字体
import 'vfonts/Lato.css';
// 等宽字体
import 'vfonts/FiraCode.css';

import naive from 'naive-ui';

import { createPinia } from 'pinia';

import piniaPluginPersistedstate from 'pinia-plugin-persistedstate';
import router from './router/router';


const app = createApp(App);


const pinia = createPinia();
pinia.use(piniaPluginPersistedstate);

app.use(pinia);
app.use(router);
app.use(naive);

app.mount('#app');
